package cn.cloud.butler.uploadapi.repository;

import cn.cloud.butler.uploadapi.domain.AlarmDataEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by zhouguocheng on 2018-12-24-上午 10:42
 */
@Repository
public interface AlarmDataRepository extends JpaRepository<AlarmDataEntity,Integer> {

    AlarmDataEntity findByAlarmnum(String alarmNum);
}
